package com.shangjinrong.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shangjinrong.domain.LendItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LendItemMapper extends BaseMapper<LendItem> {
    List<LendItem> selectByLendId(long lendId);
    List<LendItem> selectByUserId(@Param("investUserId") long investUserId);
}